<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>css学习</title>
        <link rel="stylesheet" type="text/css" href="cssbasic.css">
        <style type="text/css">
            [title]{
                font-family: 微软雅黑,sans-serif;
                color: cornflowerblue;
            }
            [title=te]{
                font-family: 微软雅黑,sans-serif;
                color: red;
            }
        </style>
    </head>
    <body>
        <h1>标题一修改了颜色</h1>
        <h2>标题二修改了颜色</h2>
        <h3>标题三修改了颜色</h3>
        <h4>标题四修改了颜色</h4>
        <p id="pid">P的id属性</p>
        <p id="pid2">P的id属性<a>链接</a></p>
        <p class="pclass">类选择器修改该属性</p>
        <p title="t">属性选择器</p>
        <p title="te">指定值的</p>
    </body>
</html>
